import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import get from '@dfeidao/atom-web/local/get';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import refresh from '@dfeidao/atom-web/url/refresh';
export default async function a003(fd: IFeidaoAiBrowserComponent) {
	// todo
	const no = get(fd, 'no') as string[];
	const r = await nodejs<{ code: 0 | 1; result: string; }>('liqiuliang/zj-000005/s001', {
		no
	});


	if (r.code === 1) {
		alert('删除成功');
		refresh();
	} else {
		alert('删除失败')
	}
}
